<?php
if($record_index["value"]<1)
{
    echo "<tr><th>Login IP</th><th>URL</th><th>Time</th></tr>";
}
echo "<tr><td>{$loginip["value"]}</td><td>{$url["value"]}</td><td>{$actiontime["value"]}</td></tr>";
?>